Conversation
Q/Z keys now move along the camera's local up axis (cross product of right and direction) instead of the fixed world Y axis. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
카메라 Q/Z 키 수직 이동 시 고정된 월드 Y축 대신 카메라의 로컬 up 벡터를 사용하도록 수정
Related Issue
없음
Type of Change
Changes
(0, ±step, 0)고정값에서 카메라 기준 up 벡터(right × direction)로 변경t_vec3 up변수 추가,vec3_cross와vec3_normalize를 활용한 로컬 up 축 계산right벡터 초기화를 compound literal 방식으로 간결하게 정리Testing
Test Environment
Test Steps
make all빌드 성공 확인norminette src/input/input_camera.c통과 확인Test Results
Screenshots
해당 없음
Checklist
Constitution Compliance
Performance Impact
Additional Notes
기존 고정 Y축 이동은 카메라가 기울어진 상태에서 직관적이지 않은 이동 방향을 제공했습니다. 이 수정으로 카메라 방향에 따라 자연스러운 상하 이동이 가능합니다.
🤖 Generated with Claude Code